﻿<UserControl x:Class="SLVisifireApp.Area3D1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="500" Height="300" xmlns:vc="clr-namespace:Visifire.Charts;assembly=WPFVisifire.Charts">
    <Grid x:Name="LayoutRoot" Background="White">
        <vc:Chart Width="500" Height="300" Theme="Theme2" View3D="True" BorderBrush="Gray"
                  ScrollingEnabled="False">

            <vc:Chart.Titles>
                <vc:Title Text="Visifire DateTime Axis Chart" Padding="6"/>
            </vc:Chart.Titles>

            <vc:Chart.PlotArea>
                <vc:PlotArea>
                    <vc:PlotArea.Background>
                        <LinearGradientBrush EndPoint="1,1" StartPoint="0,1">
                            <GradientStop Color="#e7e7e7" Offset="0.1"/>
                            <GradientStop Color="#eaeaea" Offset="0.4"/>
                            <GradientStop Color="#f8f8f8" Offset="1"/>
                        </LinearGradientBrush>
                    </vc:PlotArea.Background>
                </vc:PlotArea>
            </vc:Chart.PlotArea>

            <vc:Chart.AxesX>
                <vc:Axis IntervalType="Years" Interval="1"/>
            </vc:Chart.AxesX>

            <vc:Chart.Series>
                <vc:DataSeries RenderAs="Area">
                    <vc:DataSeries.DataPoints>
                        <vc:DataPoint XValue="1/2/2001" YValue="3009"/>
                        <vc:DataPoint XValue="2/2/2002" YValue="4547"/>
                        <vc:DataPoint XValue="8/2/2003" YValue="7047"/>
                        <vc:DataPoint XValue="6/2/2004" YValue="6208"/>
                        <vc:DataPoint XValue="2/2/2005" YValue="5222"/>
                        <vc:DataPoint XValue="8/2/2006" YValue="7047"/>
                    </vc:DataSeries.DataPoints>
                </vc:DataSeries>
                <vc:DataSeries RenderAs="Area">
                    <vc:DataSeries.DataPoints>
                        <vc:DataPoint XValue="1/2/2001" YValue="1042"/>
                        <vc:DataPoint XValue="2/2/2002" YValue="2844"/>
                        <vc:DataPoint XValue="6/2/2003" YValue="4347"/>
                        <vc:DataPoint XValue="8/2/2004" YValue="8208"/>
                        <vc:DataPoint XValue="6/2/2005" YValue="5222"/>
                        <vc:DataPoint XValue="8/2/2006" YValue="3047"/>
                    </vc:DataSeries.DataPoints>
                </vc:DataSeries>
            </vc:Chart.Series>
        </vc:Chart>
    </Grid>
</UserControl>
